Component org.nuxeo.runtime.aws.AWSConfigurationService
In bundle org.nuxeo.runtime.aws
Documentation
Manages AWS configuration.
Resolution Order
774
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Start Order
920
The start order represents the order in which this component has been started by the Nuxeo Runtime framework.
This number is interesting to tweak if your Java component interacts with other components, and needs to be started before or after another one.
It can be changed by implementing the method "Component#getApplicationStartedOrder()" on your Java component: components are sorted according to this reference value, in increasing order.
The default value is 1000, and the repository initialization uses number 100. Negative values can also be used.
Implementation
Class:
org.nuxeo.runtime.aws.AWSConfigurationServiceImpl
Services
Extension Points
XML Source
<?xml version='1.0' encoding='UTF-8'?>
<component name="org.nuxeo.runtime.aws.AWSConfigurationService">
<documentation>Manages AWS configuration.</documentation>
<implementation class="org.nuxeo.runtime.aws.AWSConfigurationServiceImpl"/>
<extension-point name="configuration">
<documentation>
Used to register AWS configurations. Example:
<code>
<configuration id="myconfig">
<accessKeyId>MY_ACCESS_KEY</accessKeyId>
<secretKey>********</secretKey>
<region>MY_REGION</region>
<trustStorePath>MY_TRUSTSTORE_PATH</trustStorePath>
<trustStorePassword>********</trustStorePassword>
<trustStoreType>MY_TRUSTSTORE_TYPE</trustStoreType>
<keyStorePath>MY_KEYSTORE_PATH</keyStorePath>
<keyStorePassword>********</keyStorePassword>
<keyStoreType>MY_KEYSTORE_TYPE</keyStoreType>
</configuration>
</code>
If the configuration id is not present, "default" is used.
To look up a configuration, use new NuxeoAWSCredentialsProvider("myconfig")
and new NuxeoAWSRegionProvider("myconfig"). Alternatively, you can use
the service AWSConfigurationService directly (but it just looks up provided configuration,
it doesn't fall back to the AWS SDK default behavior).
</documentation>
<object class="org.nuxeo.runtime.aws.AWSConfigurationDescriptor"/>
</extension-point>
<service>
<provide interface="org.nuxeo.runtime.aws.AWSConfigurationService"/>
</service>
</component>